﻿using BI.CF.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BI.CF.IDAL
{
   public interface Record_IDAL
    {
        /// <summary>
        /// 抵押资产审核显示
        /// </summary>
        /// <param name="UserName"></param>
        /// <param name="CrefiticationTimeMax"></param>
        /// <param name="CrefiticationTimeMin"></param>
        /// <param name="IdCard"></param>
        /// <param name="PageIndex"></param>
        /// <param name="PageSize"></param>
        /// <returns></returns>
       PageList.Pager<Records> GetRecordShow(string UserName, int PageIndex, int PageSize);
        
        /// <summary>
        /// 添加抵押资产认证审核信息
        /// </summary>
        /// <param name="m"></param>
        /// <returns></returns>
       bool Record_ADD(RecordModel m);
        
        /// <summary>
        /// 删除抵押资产审核信息
        /// </summary>
        /// <returns></returns>
       bool Record_Dele(int id);
        
        /// <summary>
        /// 修改抵押资产审核信息
        /// </summary>
        /// <returns></returns>
       bool Record_Upt(Records m);
       /// <summary>
       /// 根据编号查询状态
       /// </summary>
       /// <param name="ID"></param>
       /// <returns></returns>
       Records Record_ID(int ID);
       #region 添加借款信息and 资产抵押
       /// <summary>
       /// 添加借款信息and 资产抵押
       /// </summary>
       /// <returns></returns>
      bool Memloand_LeiADD(RecordModel m);
       #endregion


    }
}
